﻿using System.Web.Mvc;

namespace TenderSampleApp.Areas.RAC
{
    public class RACAreaRegistration : AreaRegistration
    {
        public override string AreaName
        {
            get
            {
                return "RAC";
            }
        }

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "RAC",
                "RAC/{controller}/{action}/{id}",
                new {area="RAC", controller = "RACHome", action = "Index", id = UrlParameter.Optional }
            );
        }
    }
}
